home *** CD-ROM | disk | FTP | other *** search
/ Joystick Magazine 2000 November / cd joystick no120 novembre 2000 cd 1.iso / data / demos / gunlok / data1.cab / Program_Executable_Files / scripts / rampagor.gsh < prev    next >
Text File  |  2000-08-22  |  2KB  |  97 lines

  1. // defines RAMPAGOR
  2. ////////////////////////////////////////////////////////////////////////////////////
  3.  
  4. // start wrapper - prevent multiple inclusions or recursive inclusions
  5.  
  6. //(this currently causes 'unrecognized preprocessor directive' warnings, until implemented)
  7. #ifndef INCLUDED_RAMPAGOR_GSH
  8. #define INCLUDED_RAMPAGOR_GSH
  9.  
  10. ////////////////////////////////////////////////////////////////////////////////////
  11.  
  12. #include "defaults.gsh"
  13. #include "rampagorfrag.gsh"
  14.  
  15.  
  16. hierarchy Hcy_rampagor
  17. {
  18.     file "units\LOWrampagor.RIF"
  19.     name "lowrampagor"
  20.     hotspot "dumflash"
  21. }
  22.  
  23. hierarchy Hcy_rampagor_Shadow
  24. {
  25.     file "units\rampagor_shadow.RIF"
  26.     name "rampagor_shadow"
  27. }
  28.  
  29. character Chr_rampagor : Chr_DefaultBaddie
  30. {
  31.     turning speed   0.8    // this is in revolutions per second
  32.     walking speed   1.0    // this is in animation cycles per second
  33.     weapon            laser
  34.     strength        60    // initial strength points
  35.     aim             2    // how many degrees off target he can be at most
  36.     sight angle    20    // in degrees
  37.     sight range     20    // in metres
  38.     hearing range    17    // in metres
  39.     aggression    1    // from 0 to 1
  40.     gun yaw angle    0    // in degrees
  41.     shadow hierarchy    Hcy_rampagor_Shadow
  42. }
  43.  
  44. character Chr_maxi_rampagor : Chr_DefaultBaddie
  45. {
  46.     turning speed   0.8    // this is in revolutions per second
  47.     walking speed   1.0    // this is in animation cycles per second
  48.     weapon            binary laser
  49.     strength        100    // initial strength points
  50.     aim             2    // how many degrees off target he can be at most
  51.     sight angle    30    // in degrees
  52.     sight range     10    // in metres
  53.     hearing range    20    // in metres
  54.     aggression    1    // from 0 to 1
  55.     size         2
  56.     gun yaw angle    0    // in degrees
  57.     shadow hierarchy    Hcy_rampagor_Shadow
  58. }
  59.  
  60.  
  61. role Rol_rampagor : Rol_DefaultRobot
  62. {
  63.     shape                Hcy_rampagor
  64.  
  65.     character            Chr_rampagor
  66.  
  67.     identifier            "rampagor"
  68.  
  69.     destructibility            Frg_rampagor
  70.  
  71.     armour    5
  72.  
  73.     ai                    bot
  74.  
  75. }
  76.  
  77. role Rol_maxi_rampagor : Rol_DefaultRobot
  78. {
  79.     shape                Hcy_rampagor
  80.  
  81.     character            Chr_maxi_rampagor
  82.  
  83.     identifier            "maxi_rampagor"
  84.  
  85.     destructibility            Frg_rampagor
  86.  
  87.     armour    10
  88.  
  89.     ai                    bot
  90.  
  91. }
  92.  
  93. ////////////////////////////////////////////////////////////////////////////////////
  94.  
  95. // end wrapper - for preventing multiple or recursive inclusions
  96. #endif // !INCLUDED_RAMPAGOR_GSH
  97.